using System;
using System.Collections.Generic;
using System.Text;

namespace B4ALL.Cache
{
    public interface IDataCacheManager
    {
        void Add(String key, Object value);
        void Add(String key, Object value, Int32 cacheDuration);
        Object Get(String key);
        Object GetRegex(String key);
        ICollection<String> GetRegexKeys(string key);
        void RemoveRegex(string key);
        void Refresh(String key, Object value);
        void Remove(String key);
        void Clear();
    }
}